
//信息报送的对话框
var onexxbsDlg = null;

function onexxbsDlgInit(){
	if(onexxbsDlg==null){//如果对话框不存在，那么创建
		onexxbsDlgCreate();
		onexxbsDlg.zindex();
	}else if(itemExistArray(onexxbsDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(onexxbsDlg);
	}
	onexxbsDlg.zindex();
}	

//创建对话框
function onexxbsDlgCreate(){
	onexxbsDlg =  $.dialog({
		title: '信息报送',
		content: 'url:jsp/xxbs/xxbs.jsp',
		dlgDivId: "oneyappDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'830px',
		height:'400px',
		min:onexxbsDlgMinFunction,
		close:onexxbsDlgCloseFunction,
		
	});
}

//关闭的方法
function onexxbsDlgCloseFunction(){
	onexxbsDlg = null;
}

//最小化的方法
function onexxbsDlgMinFunction(){
	minDlgByAnimate(onexxbsDlg);
}
